package com.xc.freeapp.service;

import java.util.List;

import com.xc.freeapp.common.PageInfo;
import com.xc.freeapp.entity.MenuInfo;

/**
 * 数据处理接口
 * 
 * @author ZhouXinjie
 *
 */

public interface MenuService {

	public List<MenuInfo> getUserMenus(String userId);

	public List<MenuInfo> queryAllMenus(PageInfo<MenuInfo> pageInfo, MenuInfo menuInfo);

	public List<MenuInfo> querySystemMenus(PageInfo<MenuInfo> pageInfo, MenuInfo menuInfo);

	public MenuInfo getMenu(String menuId);

	public List<MenuInfo> getAllMenus();

	public List<MenuInfo> getAllSystemMenus();

	public List<MenuInfo> getAllWebMenus();

	public int saveMenu(MenuInfo menuInfo);

	public int updateMenu(MenuInfo menuInfo);

	public int deleteMenu(String menuId);

	public int getMaxMenuOrder();

	public List<String> getMenuTypes();

}
